import {Email as Feigechuanshu} from "./Email";
//导入Email模块，重命名为飞鸽传书

/**
 * 劫匪
 */
export class Jiefei{
    /**
    * 收到邮件之后，开始打劫
    */
    dajie(){
        let feige:Feigechuanshu = new Feigechuanshu();
        let xin:{d:string,c:string} = feige.received();//收到信
        console.log("收到飞鸽传书，来自："+xin.d+"内容："+xin.c);
        alert(`${shanzhai},呔，留下买路财！`);

    }
}
export let shanzhai = "劫机山寨";